import org.rsbot.script.util.Filter;
import org.rsbot.script.wrappers.RSNPC;

class YakAttack$3
  implements Filter<RSNPC>
{
  public boolean accept(RSNPC paramRSNPC)
  {
    if (paramRSNPC.getID() == 5529)
    {
      return (paramRSNPC.getInteracting() == null) && (!paramRSNPC.isInCombat());
    }

    return false;
  }
}